//
//  FlutterIosMapViewFactory.h
//  o_amap
//
//  Created by Q神 on 2021/4/9.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
#import "GdMapFlutterStreamManager.h"

typedef void(^getViewIdentifierBlock)(int64_t viewId);

NS_ASSUME_NONNULL_BEGIN

@interface FlutterIosMapViewFactory : NSObject <FlutterPlatformViewFactory>

@property (nonatomic, copy) getViewIdentifierBlock viewIdBlock;

- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar withMapPlugin:(NSObject<FlutterPlugin> * _Nonnull)mapPlugin streamHandler:(GdMapFlutterStreamHandler * _Nullable)handler;

@end

NS_ASSUME_NONNULL_END
